package com.flnet.foxwash.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.flnet.common.base.BaseEntity;
import java.util.Date;

/**
 * 设备管理表 w_machine
 * 
 * @author flnet
 * @date 2019-03-20
 */
public class WMachine extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 设备ID */
	private Long machineId;
	/**  */
	private String uuid;
	/**  */
	private Long creator;
	/**  */
	private Date createDate;
	/**  */
	private Long modifier;
	/**  */
	private Date modifyDate;
	/** 品牌 */
	private String brand;
	/** 设备名称 */
	private String name;
	/** 服务类型ID */
	private Long typeId;
	/** 供应商ID */
	private Long vendorId;
	/** 店铺ID */
	private Long shopId;
	/** 产品描述 */
	private String productDesc;
	/** 图片 */
	private String imgId;
	/** 型号 */
	private String model;
	/** SN */
	private String sn;
	/** IP */
	private String ip;
	/** MAC */
	private String mac;
	/** 当前工作状态 */
	private Integer state;
	/** 标注 */
	private String remark;
	/** 状态（0正常 1停用） */
	private String status;

	private String typeName;

	private String shopName;

	private String vendorName;

	public void setMachineId(Long machineId) 
	{
		this.machineId = machineId;
	}

	public Long getMachineId() 
	{
		return machineId;
	}
	public void setUuid(String uuid) 
	{
		this.uuid = uuid;
	}

	public String getUuid() 
	{
		return uuid;
	}
	public void setCreator(Long creator) 
	{
		this.creator = creator;
	}

	public Long getCreator() 
	{
		return creator;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setModifier(Long modifier) 
	{
		this.modifier = modifier;
	}

	public Long getModifier() 
	{
		return modifier;
	}
	public void setModifyDate(Date modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate() 
	{
		return modifyDate;
	}
	public void setBrand(String brand) 
	{
		this.brand = brand;
	}

	public String getBrand() 
	{
		return brand;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setTypeId(Long typeId) 
	{
		this.typeId = typeId;
	}

	public Long getTypeId() 
	{
		return typeId;
	}
	public void setVendorId(Long vendorId) 
	{
		this.vendorId = vendorId;
	}

	public Long getVendorId() 
	{
		return vendorId;
	}
	public void setShopId(Long shopId) 
	{
		this.shopId = shopId;
	}

	public Long getShopId() 
	{
		return shopId;
	}
	public void setProductDesc(String productDesc) 
	{
		this.productDesc = productDesc;
	}

	public String getProductDesc() 
	{
		return productDesc;
	}
	public void setImgId(String imgId) 
	{
		this.imgId = imgId;
	}

	public String getImgId() 
	{
		return imgId;
	}
	public void setModel(String model) 
	{
		this.model = model;
	}

	public String getModel() 
	{
		return model;
	}
	public void setSn(String sn) 
	{
		this.sn = sn;
	}

	public String getSn() 
	{
		return sn;
	}
	public void setIp(String ip) 
	{
		this.ip = ip;
	}

	public String getIp() 
	{
		return ip;
	}
	public void setMac(String mac) 
	{
		this.mac = mac;
	}

	public String getMac() 
	{
		return mac;
	}
	public void setState(Integer state) 
	{
		this.state = state;
	}

	public Integer getState() 
	{
		return state;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("machineId", getMachineId())
            .append("uuid", getUuid())
            .append("creator", getCreator())
            .append("createDate", getCreateDate())
            .append("modifier", getModifier())
            .append("modifyDate", getModifyDate())
            .append("brand", getBrand())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("vendorId", getVendorId())
            .append("shopId", getShopId())
            .append("productDesc", getProductDesc())
            .append("imgId", getImgId())
            .append("model", getModel())
            .append("sn", getSn())
            .append("ip", getIp())
            .append("mac", getMac())
            .append("state", getState())
            .append("remark", getRemark())
            .append("status", getStatus())
			.append("typeName", getTypeName())
			.append("shopName", getShopName())
			.append("vendorName", getVendorName())
            .toString();
    }
}
